package com.miki.road.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * author: Leeon
 * 2020/3/28
 * road
 */
@RestController
public class HelloWorld {

    private static final Logger LOGGER = LoggerFactory.getLogger(HelloWorld.class);

    @GetMapping("/hello")
    public String sayHell(){
        LOGGER.info("s {}","lzl");
        return "helloworld";
    }
}
